<?php if (!isset($_SESSION['captchatrue'])): ?>

<ul id="captchaUl">

<li id="captchaImage">
	<a href="javascript:void(0);" onclick="javascript:document.images.captcha.src='/users/captcha?' + Math.round(Math.random(0)*1000)+1" title="сменить код">
	<img id="captcha" src="/users/captcha" alt="" /></a>
</li>
<li id="captchaArrow">
	&#8594;
</li>

<li id="captchaInput">
	<?php echo $form->input('captcha', array('label'=>false, 'value'=>'', 'maxlength'=>4, 'div'=>false)) ?>
</li>

</ul>

<?php endif ?>
